package com.lf.service;

import javax.servlet.http.HttpServletResponse;

public interface UserService {

    boolean register(String email,String password,String code);

    boolean isRegistered(String email);

    boolean login(String email, String password, HttpServletResponse response);

    String getEmailByToken(String token);

}
